home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / misc1 / ami301c.zip / QKSAVE.SM$ / QKSAVE.SMM
INI File  |  1993-05-15  |  24KB  |  1,784 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     
  5. [files]
  6. [charset]
  7.     82
  8.     ANSI (Windows, IBM CP 1252)
  9. [revisions]
  10.     0
  11. [prn]
  12.     QMS-PS 810
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [desc]
  18.     Calculate how your savings will grow if you save a certain amount each month.
  19.     
  20.     
  21.     
  22.     
  23.     737498107
  24.     26
  25.     732570070
  26.     1714
  27.     7
  28.     0
  29.     0
  30.     0
  31.     0
  32.     
  33.     
  34.     
  35.     
  36.     
  37.     
  38.     1
  39. [fopts]
  40.     0
  41.     1
  42.     0
  43.     0
  44. [lnopts]
  45.     2
  46.     Body Text
  47.     1
  48. [docopts]
  49.     5
  50.     2
  51. [GramStyle]
  52.     
  53. [ParaNum]
  54.     1
  55. [tag]
  56.     Body Text
  57.     2
  58.     [fnt]
  59.         Arial
  60.         200
  61.         0
  62.         16384
  63.     [algn]
  64.         1
  65.         1
  66.         0
  67.         0
  68.         0
  69.     [spc]
  70.         33
  71.         273
  72.         1
  73.         0
  74.         0
  75.         1
  76.         100
  77.     [brk]
  78.         4
  79.     [line]
  80.         8
  81.         0
  82.         1
  83.         0
  84.         1
  85.         1
  86.         1
  87.         10
  88.         10
  89.         1
  90.     [spec]
  91.         0
  92.         0
  93.         
  94.         0
  95.         1
  96.         1
  97.         0
  98.         0
  99.         0
  100.         0
  101.     [nfmt]
  102.         280
  103.         1
  104.         2
  105.         .
  106.         ,
  107.         $
  108.     Body Text
  109.     0
  110.     0
  111. [tag]
  112.     Body Single
  113.     3
  114.     [fnt]
  115.         Times New Roman
  116.         240
  117.         0
  118.         49152
  119.     [algn]
  120.         1
  121.         1
  122.         0
  123.         0
  124.         0
  125.     [spc]
  126.         33
  127.         273
  128.         1
  129.         0
  130.         0
  131.         1
  132.         100
  133.     [brk]
  134.         4
  135.     [line]
  136.         8
  137.         0
  138.         1
  139.         0
  140.         1
  141.         1
  142.         1
  143.         10
  144.         10
  145.         1
  146.     [spec]
  147.         0
  148.         0
  149.         
  150.         0
  151.         1
  152.         1
  153.         0
  154.         0
  155.         0
  156.         0
  157.     [nfmt]
  158.         280
  159.         1
  160.         2
  161.         .
  162.         ,
  163.         $
  164.     Body Single
  165.     0
  166.     0
  167. [tag]
  168.     Bullet
  169.     4
  170.     [fnt]
  171.         Times New Roman
  172.         240
  173.         0
  174.         49152
  175.     [algn]
  176.         1
  177.         1
  178.         0
  179.         288
  180.         288
  181.     [spc]
  182.         33
  183.         273
  184.         1
  185.         0
  186.         0
  187.         1
  188.         100
  189.     [brk]
  190.         4
  191.     [line]
  192.         8
  193.         0
  194.         1
  195.         0
  196.         1
  197.         1
  198.         1
  199.         10
  200.         10
  201.         1
  202.     [spec]
  203.         0
  204.         0
  205.         <*0>
  206.         360
  207.         1
  208.         1
  209.         0
  210.         0
  211.         0
  212.         0
  213.     [nfmt]
  214.         272
  215.         1
  216.         2
  217.         .
  218.         ,
  219.         $
  220.     Bullet
  221.     0
  222.     0
  223. [tag]
  224.     Bullet 1
  225.     5
  226.     [fnt]
  227.         Times New Roman
  228.         240
  229.         0
  230.         49152
  231.     [algn]
  232.         1
  233.         1
  234.         288
  235.         288
  236.         288
  237.     [spc]
  238.         33
  239.         273
  240.         1
  241.         0
  242.         0
  243.         1
  244.         100
  245.     [brk]
  246.         4
  247.     [line]
  248.         8
  249.         0
  250.         1
  251.         0
  252.         1
  253.         1
  254.         1
  255.         10
  256.         10
  257.         1
  258.     [spec]
  259.         0
  260.         0
  261.         <*5>
  262.         0
  263.         1
  264.         1
  265.         0
  266.         0
  267.         0
  268.         0
  269.     [nfmt]
  270.         280
  271.         1
  272.         2
  273.         .
  274.         ,
  275.         $
  276.     Bullet 1
  277.     0
  278.     0
  279. [tag]
  280.     Number List
  281.     6
  282.     [fnt]
  283.         Times New Roman
  284.         240
  285.         0
  286.         49152
  287.     [algn]
  288.         1
  289.         1
  290.         360
  291.         360
  292.         360
  293.     [spc]
  294.         33
  295.         273
  296.         1
  297.         0
  298.         0
  299.         1
  300.         100
  301.     [brk]
  302.         4
  303.     [line]
  304.         8
  305.         0
  306.         1
  307.         0
  308.         1
  309.         1
  310.         1
  311.         10
  312.         10
  313.         1
  314.     [spec]
  315.         0
  316.         0
  317.         <*:>.
  318.         360
  319.         1
  320.         1
  321.         0
  322.         16
  323.         0
  324.         0
  325.     [nfmt]
  326.         272
  327.         1
  328.         2
  329.         .
  330.         ,
  331.         $
  332.     Number List
  333.     0
  334.     0
  335. [tag]
  336.     Subhead
  337.     7
  338.     [fnt]
  339.         Times New Roman
  340.         240
  341.         0
  342.         49155
  343.     [algn]
  344.         1
  345.         1
  346.         0
  347.         0
  348.         0
  349.     [spc]
  350.         33
  351.         273
  352.         1
  353.         72
  354.         72
  355.         1
  356.         100
  357.     [brk]
  358.         4
  359.     [line]
  360.         8
  361.         0
  362.         1
  363.         0
  364.         1
  365.         1
  366.         1
  367.         10
  368.         10
  369.         1
  370.     [spec]
  371.         0
  372.         2
  373.         
  374.         0
  375.         1
  376.         1
  377.         0
  378.         0
  379.         0
  380.         0
  381.     [nfmt]
  382.         272
  383.         1
  384.         2
  385.         .
  386.         ,
  387.         $
  388.     Subhead
  389.     0
  390.     0
  391. [tag]
  392.     Title
  393.     8
  394.     [fnt]
  395.         Arial
  396.         360
  397.         0
  398.         16385
  399.     [algn]
  400.         4
  401.         1
  402.         0
  403.         0
  404.         0
  405.     [spc]
  406.         33
  407.         446
  408.         1
  409.         144
  410.         72
  411.         1
  412.         100
  413.     [brk]
  414.         16
  415.     [line]
  416.         8
  417.         0
  418.         1
  419.         0
  420.         1
  421.         1
  422.         1
  423.         10
  424.         10
  425.         1
  426.     [spec]
  427.         0
  428.         1
  429.         
  430.         0
  431.         1
  432.         1
  433.         0
  434.         0
  435.         0
  436.         0
  437.     [nfmt]
  438.         272
  439.         1
  440.         2
  441.         .
  442.         ,
  443.         $
  444.     Title
  445.     0
  446.     0
  447. [tag]
  448.     Header
  449.     9
  450.     [fnt]
  451.         Times New Roman
  452.         240
  453.         0
  454.         49152
  455.     [algn]
  456.         1
  457.         1
  458.         0
  459.         0
  460.         0
  461.     [spc]
  462.         33
  463.         273
  464.         1
  465.         0
  466.         0
  467.         1
  468.         100
  469.     [brk]
  470.         4
  471.     [line]
  472.         8
  473.         0
  474.         1
  475.         0
  476.         1
  477.         1
  478.         1
  479.         10
  480.         10
  481.         1
  482.     [spec]
  483.         0
  484.         0
  485.         
  486.         0
  487.         1
  488.         1
  489.         0
  490.         0
  491.         0
  492.         0
  493.     [nfmt]
  494.         280
  495.         1
  496.         2
  497.         .
  498.         ,
  499.         $
  500.     Header
  501.     0
  502.     0
  503. [tag]
  504.     Footer
  505.     11
  506.     [fnt]
  507.         Times New Roman
  508.         240
  509.         0
  510.         49152
  511.     [algn]
  512.         1
  513.         1
  514.         0
  515.         0
  516.         0
  517.     [spc]
  518.         33
  519.         273
  520.         1
  521.         0
  522.         0
  523.         1
  524.         100
  525.     [brk]
  526.         4
  527.     [line]
  528.         8
  529.         0
  530.         1
  531.         0
  532.         1
  533.         1
  534.         1
  535.         10
  536.         10
  537.         1
  538.     [spec]
  539.         0
  540.         0
  541.         
  542.         0
  543.         1
  544.         1
  545.         0
  546.         0
  547.         0
  548.         0
  549.     [nfmt]
  550.         280
  551.         1
  552.         2
  553.         .
  554.         ,
  555.         $
  556.     Footer
  557.     0
  558.     0
  559. [lay]
  560.     Standard
  561.     513
  562.     [rght]
  563.         15840
  564.         12240
  565.         1
  566.         576
  567.         1440
  568.         1
  569.         1440
  570.         504
  571.         0
  572.         1
  573.         0
  574.         1
  575.         0
  576.         2
  577.         1
  578.         576
  579.         11736
  580.         12
  581.         1
  582.         720
  583.         1
  584.         1440
  585.         1
  586.         2160
  587.         1
  588.         2880
  589.         1
  590.         3600
  591.         1
  592.         4320
  593.         1
  594.         5040
  595.         1
  596.         5760
  597.         1
  598.         6480
  599.         1
  600.         7200
  601.         1
  602.         7920
  603.         1
  604.         8640
  605.     [hrght]
  606.     [lyfrm]
  607.         1
  608.         11200
  609.         0
  610.         0
  611.         12240
  612.         1440
  613.         0
  614.         1
  615.         3
  616.         1 0 0 0 0 0 0
  617.         0
  618.         0
  619.         1
  620.     [frmlay]
  621.         1440
  622.         12240
  623.         1
  624.         1440
  625.         72
  626.         1
  627.         792
  628.         1440
  629.         0
  630.         1
  631.         0
  632.         1
  633.         1
  634.         0
  635.         1
  636.         1440
  637.         10800
  638.         2
  639.         2
  640.         4680
  641.         3
  642.         9360
  643.     [txt]
  644. Peyton McMansu
  645.  
  646. Lotus WPD
  647.  
  648. >
  649.     [frght]
  650.     [lyfrm]
  651.         1
  652.         13248
  653.         0
  654.         14400
  655.         12240
  656.         15840
  657.         0
  658.         1
  659.         3
  660.         1 0 0 0 0 0 0
  661.         0
  662.         0
  663.         2
  664.     [frmlay]
  665.         15840
  666.         12240
  667.         1
  668.         1440
  669.         792
  670.         1
  671.         14472
  672.         1440
  673.         0
  674.         1
  675.         0
  676.         1
  677.         1
  678.         0
  679.         1
  680.         1440
  681.         10800
  682.         2
  683.         2
  684.         4680
  685.         3
  686.         9360
  687.     [txt]
  688. >
  689. [elay]
  690. [l1]
  691.     0
  692. [edoc]
  693. @Outline2@<:#231,11160>
  694.  
  695. @Outline2@<:#231,11160>Define  NumDec    2
  696.  
  697. <:#231,11160>Define    Formula    "@FV({Savings},{Interest}/12,{Months})"
  698.  
  699. <:#231,11160>
  700.  
  701. <:#231,11160>Define    GetPrefix()    GetGlobalVar$("Prefix")
  702.  
  703. <:#231,11160>Define    GetSuffix()    GetGlobalVar$("Suffix")
  704.  
  705. <:#231,11160>
  706.  
  707. <:#231,11160>Define ShowWindow(hWnd, stuff) DllCall("user,ShowWindow,HHH", %1, %2)
  708.  
  709. <:#231,11160>
  710.  
  711. <:#231,11160>
  712.  
  713. <:#231,11160>Declare FontDlg(Action, Hdlg, id)
  714.  
  715. <:#231,11160>Declare CellEngine(action)
  716.  
  717. <:#231,11160>Declare GetMarkValue(Bookmarkname)
  718.  
  719. <:#231,11160>Declare    StrPath(Filename)
  720.  
  721. <:#231,11160>Declare    GetFormats(Action)
  722.  
  723. <:#231,11160>
  724.  
  725. <:#462,11160>Define    Descript    "Enter the information below to calculate how your savings will grow if you save a certain amount each month."
  726.  
  727. <:#231,11160>
  728.  
  729. @Subhead@<:#284,11160>Function Main(Principal, Interest, Term)
  730.  
  731. <:#231,11160>DefStr hInstance;
  732.  
  733. <:#231,11160>Mac = GetRunningMacroFile$()
  734.  
  735. <:#231,11160>MacPath = StrPath(Mac)
  736.  
  737. <:#231,11160>FontDlg(1,0,0)
  738.  
  739. <:#231,11160>CellEngine(1)
  740.  
  741. <:#231,11160>GetFormats(1)    ' International function
  742.  
  743. <:#231,11160>
  744.  
  745. <:#231,11160>SetDlgCallBack(0,"{Mac}!InitDlg")
  746.  
  747. <:#231,11160>FillEdit(1001, Descript)
  748.  
  749. <:#231,11160>Bitmap = "{Macpath}qkSave.bmt"
  750.  
  751. <:#231,11160>FillEdit(1003,Bitmap)
  752.  
  753. <:#231,11160>
  754.  
  755. <+@><:#231,11160>
  756.  
  757. <:#231,11160>SetDlgCallBack(8000,"{Mac}!DataChange")
  758.  
  759. <:#231,11160>SetDlgCallBack(8001,"{Mac}!DataChange")
  760.  
  761. <:#231,11160>SetDlgCallBack(8002,"{Mac}!DataChange")
  762.  
  763. <:#231,11160>SetDlgCallBack(21,"{Mac}!DataChange")
  764.  
  765. @Outline3@<:#231,11160>DlgKeyInterrupt(112, "{mac}!DisplayHelp")
  766.  
  767. @Outline3@<:#231,11160>
  768.  
  769. <:#231,11160>
  770.  
  771. <:#231,11160>Box = DialogBox(".","QkSave")
  772.  
  773. <:#231,11160>If Box = 3
  774.  
  775. <:#231,11160>    ' this is the copy section
  776.  
  777. <:#231,11160>    Answer = GetDialogField$(8011)
  778.  
  779. <:#231,11160>    ClipBoardWrite(Answer, 1)
  780.  
  781. <:#231,11160>Endif
  782.  
  783. <:#231,11160>
  784.  
  785. <:#231,11160>FontDlg(4,0,0)        ' Destroy the font
  786.  
  787. <:#231,11160>CellEngine(0)        ' Shut down the engine
  788.  
  789. <:#231,11160>GetFormats(0)        ' Free the international stuff
  790.  
  791. <:#231,11160>End function
  792.  
  793. <:#231,11160>
  794.  
  795. <:#231,11160>
  796.  
  797. @Subhead@<:#284,11160>Function DataChange(Hdlg, id, value)
  798.  
  799. <:#231,11160>IgnoreKeyBoard(2)
  800.  
  801. <:#231,11160>DefStr Allowance;
  802.  
  803. <:#231,11160>Savings = GetDlgItemText(hDlg, 8000)*1
  804.  
  805. <:#231,11160>Months = GetDlgItemText(hDlg, 8001)*1
  806.  
  807. <:#231,11160>Interest = (GetDlgItemText(Hdlg, 8002)) / 100
  808.  
  809. <:#231,11160>Answer = CellEngine(Formula)      
  810.  
  811. <:#231,11160>Total = FormatNum$(GetPrefix(),GetSuffix(),NumDec,Answer)
  812.  
  813. <:#231,11160>SetDlgItemText(hDlg, 8011, Total)
  814.  
  815. <:#231,11160>End Function
  816.  
  817. @Subhead@<:#284,11160>
  818.  
  819. @Subhead@<:#284,11160>Function InitDlg(hDlg, id, value)
  820.  
  821. <:#231,11160>' use the fontdlg function to display the following control with a small font
  822.  
  823. <:#231,11160>IgnoreKeyBoard(2)
  824.  
  825. <:#231,11160>HourGlass(on)
  826.  
  827. <:#231,11160>FontDlg(3,Hdlg, 1000)
  828.  
  829. <:#231,11160>FontDlg(3, Hdlg, 1001)
  830.  
  831. <:#231,11160>FontDlg(3, Hdlg, 1004)
  832.  
  833. <:#231,11160>FontDlg(3, Hdlg, 1005)
  834.  
  835. <:#231,11160>FontDlg(3, Hdlg, 1006)
  836.  
  837. <:#231,11160>FontDlg(3, Hdlg, 8000)
  838.  
  839. <:#231,11160>FontDlg(3, Hdlg, 8001)
  840.  
  841. <:#231,11160>FontDlg(3, Hdlg, 8002)
  842.  
  843. <:#231,11160>FontDlg(3, Hdlg, 21)
  844.  
  845. <:#231,11160>FontDlg(3, Hdlg, 1007)
  846.  
  847. <:#231,11160>FontDlg(3, Hdlg, 1008)
  848.  
  849. <:#231,11160>FontDlg(3, Hdlg, 8011)
  850.  
  851. <:#231,11160>HourGlass(off)
  852.  
  853. <:#231,11160>End Function
  854.  
  855. <:#231,11160>
  856.  
  857. @Subhead@<:#284,11160>function DisplayHelp()
  858.  
  859. @Outline2@<:#231,11160>' two defines needed for help.  The help name and panel number are defined above
  860.  
  861. @Outline2@<:#231,11160>define FindWindowa() DllCall("user,FindWindow,HCC", %1, %2)
  862.  
  863. @Outline2@<:#231,11160>define WinHelpa(hWnd, file, cmd, ptr)    DllCall("user,WinHelp,HHCHJ", %1, %2, %3, %4)
  864.  
  865. @Outline2@<:#231,11160>prohWnd = FindWindowa("AmiProWndA", 0)
  866.  
  867. @Outline2@<:#231,11160>helpfile = strcat$(GetAmiDirectory$(), "HelpPack.hlp")
  868.  
  869. @Outline2@<:#231,11160>PanelNum= 35 
  870.  
  871. @Outline2@<:#231,11160>WinHelpa(prohWnd, helpfile, 0x0001, Panelnum)
  872.  
  873. @Outline2@<:#231,11160>end function
  874.  
  875. @Subhead@<:#284,11160>
  876.  
  877. <:#231,11160>
  878.  
  879. <:#231,11160>
  880.  
  881. <:#231,11160>
  882.  
  883. <:#231,11160>function strpath(filename)
  884.  
  885. <:#231,11160>defstr char;
  886.  
  887. <:#231,11160>Length = len(FileName)
  888.  
  889. <:#231,11160>WHILE "\" != Assign(&Char, MID$(FileName, Length, 1))
  890.  
  891. <:#231,11160>    Length = Length - 1
  892.  
  893. <:#231,11160>WEND
  894.  
  895. <:#231,11160>InFileName = Right$(FileName, (len(FileName) - Length))
  896.  
  897. <:#231,11160>InDir = Left$(FileName, Length - 1) 
  898.  
  899. <:#231,11160>if right$(indir, 1) <<<;> "\"
  900.  
  901. <:#231,11160>    indir = strcat$(indir, "\")
  902.  
  903. <:#231,11160>endif
  904.  
  905. <:#231,11160>return indir
  906.  
  907. <:#231,11160>end function
  908.  
  909. <:#231,11160>
  910.  
  911. <:#231,11160>
  912.  
  913. @Subhead@<:#284,11160><:f,BArial,>Function GetFormats<:f><:f,BArial,>(Action)
  914.  
  915. <:#231,11160><:f,BArial,>iCurrency = GetProfileString$("Intl","iCurrency","Win.ini")
  916.  
  917. <:#231,11160>currency = GetProfileString$("Intl","sCurrency","Win.ini")
  918.  
  919. <:#231,11160><:f,BArial,>AllocGlobalVar("Prefix",1)
  920.  
  921. <:#231,11160><:f,BArial,>AllocGlobalVar("Suffix",1)<:f>
  922.  
  923. <:#231,11160><:f,BArial,>
  924.  
  925. <:#231,11160><:f,BArial,>Switch Action
  926.  
  927. <:#231,11160><:f,BArial,>    Case 1     ' turn this on
  928.  
  929. <:#231,11160><:f,BArial,>        Switch iCurrency
  930.  
  931. <:#231,11160><:f,BArial,>            Case 0
  932.  
  933. <:#231,11160><:f,BArial,>                Prefix = Currency<:f>
  934.  
  935. <:#231,11160><:f,BArial,>                Suffix = ""
  936.  
  937. <:#231,11160><:f,BArial,>            Case 1
  938.  
  939. <:#231,11160><:f,BArial,>                Prefix = ""
  940.  
  941. <:#231,11160><:f,BArial,>                Suffix = Currency<:f>
  942.  
  943. <:#231,11160><:f,BArial,>            Case 2
  944.  
  945. <:#231,11160><:f,BArial,>                Prefix = StrCat$(Currency," ")
  946.  
  947. <:#231,11160><:f,BArial,>                Suffix = ""
  948.  
  949. <:#231,11160>        <:f,BArial,>    Case 3
  950.  
  951. <:#231,11160><:f,BArial,>                Prefix = ""
  952.  
  953. <:#231,11160><:f,BArial,>                Suffix = StrCat$(" ",Currency)
  954.  
  955. <:#231,11160><:f,BArial,>        endSwitch
  956.  
  957. <:#231,11160><:f,BArial,>        SetGlobalVar("Suffix",Suffix)
  958.  
  959. <:#231,11160><:f,BArial,>        SetGlobalVar("Prefix",Prefix)
  960.  
  961. <:#231,11160><:f,BArial,>
  962.  
  963. <:#231,11160><:f,BArial,>    Case 0    ' free globals
  964.  
  965. <:#231,11160><:f,BArial,>        FreeGlobalVar("Suffix")
  966.  
  967. <:#231,11160><:f,BArial,>        FreeGlobalVar("Prefix")
  968.  
  969. <:#231,11160><:f,BArial,>        
  970.  
  971. <:#231,11160><:f,BArial,>EndSwitch
  972.  
  973. <:#231,11160><:f,BArial,>End Function
  974.  
  975. <:#231,11160>
  976.  
  977. <:#231,11160>
  978.  
  979. <:#231,11160>
  980.  
  981. <:#231,11160>
  982.  
  983. <:#231,11160>
  984.  
  985. <:p<* >>
  986.  
  987. @Subhead@<:#284,11160>Function CellEngine(Action)
  988.  
  989. <:#231,11160>'Available Actions
  990.  
  991. <:#231,11160>'    1         Start the engine and allocate globalvar
  992.  
  993. <:#231,11160>'    2        Return the handle to the instance of the sheet
  994.  
  995. <:#231,11160>'    0        Shut everything down
  996.  
  997. <:#231,11160>'    Default    Expect a formula and return an answer
  998.  
  999. <:#231,11160>
  1000.  
  1001. <:#231,11160>' these defines may be useful at the beginning of your macro
  1002.  
  1003. <:#231,11160>Define StartEngine    1
  1004.  
  1005. <:#231,11160>Define GetInstance    2
  1006.  
  1007. <:#231,11160>Define CloseEngine    0
  1008.  
  1009. <:#231,11160>
  1010.  
  1011. <:#231,11160>Define    CECREATEINSTANCE(LPHANDLE)    DllCall("LTSCE01.DLL,CECREATEINSTANCE,HO",%1)
  1012.  
  1013. <:#231,11160>Define    CEDESTROYINSTANCE(HANDLE)    DllCall("LTSCE01.DLL,CEDESTROYINSTANCE,HH",%1)
  1014.  
  1015. <:#231,11160>Define    CECALCNOW(HINSTANCE, lpFormula, lpOutPut)    DllCall("LTSCE01.DLL,CECALCNOW,HHCC",%1,%2,%3)
  1016.  
  1017. <:#231,11160>
  1018.  
  1019. <:#231,11160>DefStr hInstance, Answer, Var;
  1020.  
  1021. <:#231,11160>Mac = GetRunningMacroFile$()
  1022.  
  1023. <:#231,11160>GlobalInstance = StrCat$(Mac,"hIstance")
  1024.  
  1025. <:#231,11160>
  1026.  
  1027. <:#231,11160>Switch Action
  1028.  
  1029. <:#231,11160>    Case 1
  1030.  
  1031. <:#231,11160>        ' start the engine
  1032.  
  1033. <:#231,11160>        LibId = DLLLoadLib("LTSCE01.DLL","CECreateInstance","HO")
  1034.  
  1035. <:#231,11160>        If LibId = 0
  1036.  
  1037. <:#231,11160>            Message("LTSCE01.DLL not found.  Copy the dll to your windows directory")    
  1038.  
  1039. <:#231,11160>            Return -1;
  1040.  
  1041. <:#231,11160>        Endif
  1042.  
  1043. <:#231,11160>        RetVal = CECREATEINSTANCE(&hInstance)
  1044.  
  1045. <:#231,11160>        AllocGlobalVar("{GlobalInstance}",1)
  1046.  
  1047. <:#231,11160>        AllocGlobalVar("{Mac}LibId",1)
  1048.  
  1049. <:#231,11160>        SetGlobalVar("{Mac}Libid",LibId)
  1050.  
  1051. <:#231,11160>        SetGlobalVar("{GlobalInstance}",hInstance)
  1052.  
  1053. <:#231,11160>        Return hInstance;
  1054.  
  1055. <:#231,11160>        Break;
  1056.  
  1057. <:#231,11160>
  1058.  
  1059. <:#231,11160>    Case 2
  1060.  
  1061. <:#231,11160>        ' return the handle to the instance of the sheet
  1062.  
  1063. <:#231,11160>        AllocGlobalVar("{GlobalInstance}",1)
  1064.  
  1065. <:#231,11160>        hInstance = GetGlobalVar$("{GlobalInstance}")
  1066.  
  1067. <:#231,11160>        Return hInstance;
  1068.  
  1069. <:#231,11160>        Break;
  1070.  
  1071. <:#231,11160>
  1072.  
  1073. <:#231,11160>    Case 0
  1074.  
  1075. <:#231,11160>        ' destroy the instance of the sheet and free the global var and libid
  1076.  
  1077. <:#231,11160>        AllocGlobalVar("{GlobalInstance}",1)
  1078.  
  1079. <:#231,11160>        AllocGlobalVar("{Mac}LibId",1)
  1080.  
  1081. <:#231,11160>        hInstance = GetGlobalVar$("{GlobalInstance}")
  1082.  
  1083. <:#231,11160>        LibId = GetGlobalVar$("{Mac}LibId")
  1084.  
  1085. <:#231,11160>        If hInstance
  1086.  
  1087. <:#231,11160>            CEDestroyInstance(hInstance)
  1088.  
  1089. <:#231,11160>            DllFreeLib(Libid)
  1090.  
  1091. <:#231,11160>        Endif
  1092.  
  1093. <:#231,11160>        FreeGlobalVar("{GlobalInstance}")
  1094.  
  1095. <:#231,11160>        FreeGlobalVar("{Mac}LibId")
  1096.  
  1097. <:#231,11160>        Break;
  1098.  
  1099. <:#231,11160>
  1100.  
  1101. <:#231,11160>    Default
  1102.  
  1103. <:#231,11160>        ' Calculate the formula and return the answer
  1104.  
  1105. <:#231,11160>            AllocGlobalVar("{GlobalInstance}",1)
  1106.  
  1107. <:#231,11160>            hInstance = GetGlobalVar$("{GlobalInstance}")
  1108.  
  1109. <:#231,11160>            CECalcNow(hInstance,"{Action}",&Answer)
  1110.  
  1111. <:#231,11160>            Return Answer;
  1112.  
  1113. <:#231,11160>        Break;
  1114.  
  1115. <:#231,11160>EndSwitch
  1116.  
  1117. <:#231,11160>End Function
  1118.  
  1119. @Subhead@<:#284,11160>
  1120.  
  1121. <:#231,11160>
  1122.  
  1123. <:#231,11160>
  1124.  
  1125. <:#231,11160>
  1126.  
  1127. <:#231,11160>
  1128.  
  1129. @Subhead@<:#284,11160>Function FontDlg(Action, Hdlg, id)
  1130.  
  1131. <:#231,11160>' 1    Create a font and allocvar
  1132.  
  1133. <:#231,11160>' 2    Return the handle of the create font 
  1134.  
  1135. <:#231,11160>' 3    Set the id specified to the font
  1136.  
  1137. <:#231,11160>' 4    Freeglobalvar and delete created object
  1138.  
  1139. <:#231,11160>
  1140.  
  1141. @Outline2@<:#462,11160>define    CreateFontDLG()        DllCall("gdi,CreateFont,HHHHHHHHHHHHHHC", %1, %2, %3, %4, %5, %6, %7, %8, %9, %10, %11, %12, %13, %14)
  1142.  
  1143. @Outline2@<:#231,11160>define    DeleteObjectDLG(handle)    DllCall("gdi,DeleteObject,HH", %1)
  1144.  
  1145. @Outline2@<:#231,11160>define    SendMessageDLG(hwnd, msg, wpara, lparm)    DllCall("user,SendMessage,HHHHJ", %1, %2, %3, %4)
  1146.  
  1147. @Outline2@<:#231,11160>
  1148.  
  1149. @Outline2@<:#231,11160>
  1150.  
  1151. <:#231,11160>Switch Action
  1152.  
  1153. <:#231,11160>    Case 1    ' Create the font and store it
  1154.  
  1155. @Outline2@<:#231,11160>        Font = CreateFontDLG(13, 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, 0, 32, "Helv")
  1156.  
  1157. <:#231,11160>        AllocGlobalVar("FontHandle",1)
  1158.  
  1159. <:#231,11160>        If Font
  1160.  
  1161. <:#231,11160>            SetGlobalVar("FontHandle",Font)
  1162.  
  1163. <:#231,11160>            Return Font
  1164.  
  1165. <:#231,11160>        Else
  1166.  
  1167. <:#231,11160>            Return 0;    ' no font
  1168.  
  1169. <:#231,11160>        Endif
  1170.  
  1171. <:#231,11160>        Break;
  1172.  
  1173. <:#231,11160>    Case 2    ' Return the handle to the font
  1174.  
  1175. <:#231,11160>        Handle = GetGlobalVar$("FontHandle")
  1176.  
  1177. <:#231,11160>        If Handle 
  1178.  
  1179. <:#231,11160>            Return Handle
  1180.  
  1181. <:#231,11160>        Else
  1182.  
  1183. <:#231,11160>            Return 0
  1184.  
  1185. <:#231,11160>        Endif
  1186.  
  1187. <:#231,11160>
  1188.  
  1189. <:#231,11160>    Case 3    ' Set the id to the font
  1190.  
  1191. <:#231,11160>        Handle = GetGlobalVar$("FontHandle")
  1192.  
  1193. <:#231,11160>        If Handle 
  1194.  
  1195. <:#231,11160>            IdControl = GetDlgITem(Hdlg, id)
  1196.  
  1197. <:#231,11160>            SendMessageDlg(idControl, 0x30, Handle, 0)
  1198.  
  1199. <:#231,11160>            Return 1
  1200.  
  1201. <:#231,11160>        Else
  1202.  
  1203. <:#231,11160>            Return 0
  1204.  
  1205. <:#231,11160>        Endif
  1206.  
  1207. <:#231,11160>        Break;        
  1208.  
  1209. <:#231,11160>        
  1210.  
  1211. <:#231,11160>    Case 4    ' Delete the font and clear the var
  1212.  
  1213. <:#231,11160>        Handle = GetGlobalVar$("FontHandle")
  1214.  
  1215. <:#231,11160>        If Handle
  1216.  
  1217. <:#231,11160>            DeleteObjectDLG(Handle)
  1218.  
  1219. <:#231,11160>            Stat = 1    
  1220.  
  1221. <:#231,11160>        Else
  1222.  
  1223. <:#231,11160>            Stat = 0
  1224.  
  1225. <:#231,11160>        Endif
  1226.  
  1227. <:#231,11160>        FreeGlobalVar("FontHandle")
  1228.  
  1229. <:#231,11160>        Return Stat        
  1230.  
  1231. <:#231,11160>    Default
  1232.  
  1233. <:#231,11160>        Message("Fontdlg received an invalid parameter {Action}")
  1234.  
  1235. <:#231,11160>EndSwitch    
  1236.  
  1237. <:#231,11160>
  1238.  
  1239. <:#231,11160>End Function
  1240.  
  1241. @Subhead@<:#284,11160>
  1242.  
  1243. @Subhead@<:#284,11160>
  1244.  
  1245. <:#231,11160>
  1246.  
  1247. @Subhead@<:#284,11160>Function GetMarkValue(Name)
  1248.  
  1249. <:#231,11160>' This retrieves a value from the bookmark name and returns the value
  1250.  
  1251. <:#231,11160>' If the bookmark does not exit, a "" is returned
  1252.  
  1253. <:#231,11160>If Name = ""
  1254.  
  1255. <:#231,11160>    Return Name
  1256.  
  1257. <:#231,11160>Endif
  1258.  
  1259. <:#231,11160>Exist = EvalField("If Defined {Name} {Name} Else 0")
  1260.  
  1261. <:#231,11160>If Exist
  1262.  
  1263. <:#231,11160>    Value= EvalField("{Name}")
  1264.  
  1265. <:#231,11160>    If -1 != Strchr(1,Value, "<;>")
  1266.  
  1267. <:#231,11160>        If -1 = Assign(&Value, StrField$(Value, 2, "<;>"))    
  1268.  
  1269. <:#231,11160>        Endif
  1270.  
  1271. <:#231,11160>    Endif
  1272.  
  1273. <:#231,11160>Else
  1274.  
  1275. <:#231,11160>    Value = ""
  1276.  
  1277. <:#231,11160>Endif
  1278.  
  1279. <:#231,11160>Return Value;
  1280.  
  1281. <:#231,11160>End Function
  1282.  
  1283. <:#231,11160>
  1284.  
  1285. <:#231,11160>
  1286.  
  1287. <:#231,11160>
  1288.  
  1289. <:#231,11160>
  1290.  
  1291. <:#231,11160>
  1292.  
  1293. <:#231,11160>
  1294.  
  1295. <:#231,11160>
  1296.  
  1297. <:#231,11160>
  1298.  
  1299. <:#231,11160>
  1300.  
  1301. <:#231,11160>
  1302.  
  1303. <:#231,11160>
  1304.  
  1305. <:#231,11160>
  1306.  
  1307. <:#231,11160>
  1308.  
  1309. <:#231,11160>DIALOG    QkSave
  1310.  
  1311. <:#231,11160>-2134376448    13    62    30    171    112    ""    "AmiDialog"    "Calculate Savings Account"
  1312.  
  1313. <:#231,11160>FONT    8    "Helv"
  1314.  
  1315. <:#231,11160>97    29    17    12    8002    1350631424    "edit"    ""    0 
  1316.  
  1317. <:#231,11160>67    44    24    12    8000    1350631424    "edit"    ""    0 
  1318.  
  1319. <:#231,11160>67    59    24    12    8001    1350631424    "edit"    ""    0 
  1320.  
  1321. 127    3    40    14    1    1342373889    "button"    "Done"    0 
  1322.  
  1323. <:#231,11160>2    46    63    8    1004    1342177280    "static"    "Savings per month:"    0 
  1324.  
  1325. <:#231,11160>2    60    52    8    1005    1342177280    "static"    "Number of months:"    0 
  1326.  
  1327. <:#462,11160>2    32    90    8    1006    1342177280    "static"    "Interest rate of savings account:"    0 
  1328.  
  1329. <:#231,11160>2    3    108    24    1001    1342177280    "static"    ""    0 
  1330.  
  1331. <:#231,11160>3    73    79    33    20    1342308359    "button"    "Total savings"    0 
  1332.  
  1333. <:#231,11160>116    30    6    10    1000    1342177280    "static"    "%"    0 
  1334.  
  1335. <:#231,11160>12    88    60    8    8011    1342177281    "static"    ""    0 
  1336.  
  1337. <:#231,11160>92    41    55    47    1003    1342177290    "static"    "filename.bmp"    0 
  1338.  
  1339. <:#231,11160>127    19    40    14    3    1342373888    "button"    "Copy"    0 
  1340.  
  1341. <:#231,11160>END DIALOG
  1342.  
  1343. >
  1344.  
  1345. [Embedded]
  1346. 00018333
  1347. >
  1348. [macsum] 10
  1349. Main 0 3 7 18
  1350. DataChange 584 3 7 52
  1351. InitDlg 869 3 1 63
  1352. DisplayHelp 1217 0 4 82
  1353. strpath 1402 1 5 95
  1354. GetFormats 1723 1 5 110
  1355. CellEngine 2292 1 8 147
  1356. FontDlg 3197 3 5 218
  1357. GetMarkValue 4043 1 3 277
  1358. QkSave 4348 0 -1 308
  1359. [macse]
  1360. 14 Main
  1361. 0 802
  1362. 13
  1363. 8 5
  1364. 16 StrPath "{5}"
  1365. 13
  1366. 8 6
  1367. 16 FontDlg 1 0 0
  1368. 16 CellEngine 1
  1369. 16 GetFormats 1
  1370. 0 41 0 "{5}!InitDlg"
  1371. 0 31 1001 "Enter the information below to calculate how your savings will grow if you save a certain amount each month."
  1372. 7 "{6}qkSave.bmt"
  1373. 8 7
  1374. 0 31 1003 "{7}"
  1375. 0 41 8000 "{5}!DataChange"
  1376. 0 41 8001 "{5}!DataChange"
  1377. 0 41 8002 "{5}!DataChange"
  1378. 0 41 21 "{5}!DataChange"
  1379. 0 47 112 "{5}!DisplayHelp"
  1380. 0 26 "." "QkSave"
  1381. 13
  1382. 8 8
  1383. 6 8
  1384. 5 3
  1385. 18 0
  1386. 11 00000520
  1387. 0 27 8011
  1388. 13
  1389. 8 9
  1390. 0 1038 "{9}" 1
  1391. 16 FontDlg 4 0 0
  1392. 16 CellEngine 0
  1393. 16 GetFormats 0
  1394. 6 3
  1395. 15
  1396. 9
  1397. 14 DataChange
  1398. 0 32 2
  1399. 0 42 "{0}" 8000
  1400. 13
  1401. 5 1
  1402. 4 0
  1403. 8 5
  1404. 0 42 "{0}" 8001
  1405. 13
  1406. 5 1
  1407. 4 0
  1408. 8 6
  1409. 0 42 "{0}" 8002
  1410. 13
  1411. 5 100
  1412. 4 1
  1413. 8 7
  1414. 16 CellEngine "@FV({5},{7}/12,{6})"
  1415. 13
  1416. 8 8
  1417. 0 265 "Prefix"
  1418. 13
  1419. 0 265 "Suffix"
  1420. 13
  1421. 0 19 [X] [X] 2 "{8}"
  1422. 13
  1423. 8 9
  1424. 0 43 "{0}" 8011 "{9}"
  1425. 6 3
  1426. 15
  1427. 9
  1428. 14 InitDlg
  1429. 0 32 2
  1430. 0 296 1
  1431. 16 FontDlg 3 "{0}" 1000
  1432. 16 FontDlg 3 "{0}" 1001
  1433. 16 FontDlg 3 "{0}" 1004
  1434. 16 FontDlg 3 "{0}" 1005
  1435. 16 FontDlg 3 "{0}" 1006
  1436. 16 FontDlg 3 "{0}" 8000
  1437. 16 FontDlg 3 "{0}" 8001
  1438. 16 FontDlg 3 "{0}" 8002
  1439. 16 FontDlg 3 "{0}" 21
  1440. 16 FontDlg 3 "{0}" 1007
  1441. 16 FontDlg 3 "{0}" 1008
  1442. 16 FontDlg 3 "{0}" 8011
  1443. 0 296 0
  1444. 6 3
  1445. 15
  1446. 9
  1447. 14 DisplayHelp
  1448. 0 284 "user,FindWindow,HCC" "AmiProWndA" 0
  1449. 13
  1450. 8 1
  1451. 0 798
  1452. 13
  1453. 0 16 [X] "HelpPack.hlp"
  1454. 13
  1455. 8 2
  1456. 5 35
  1457. 8 3
  1458. 0 284 "user,WinHelp,HHCHJ" "{1}" "{2}" 1 "{3}"
  1459. 6 0
  1460. 15
  1461. 9
  1462. 14 strpath
  1463. 0 14 "{0}"
  1464. 13
  1465. 8 3
  1466. 7 "\"
  1467. 0 15 "{0}" "{3}" 1
  1468. 13
  1469. 0 805 &2 [X]
  1470. 13
  1471. 18 1
  1472. 11 00000134
  1473. 6 3
  1474. 5 1
  1475. 3 1
  1476. 8 3
  1477. 10 00000033
  1478. 0 14 "{0}"
  1479. 13
  1480. 6 3
  1481. 3 1
  1482. 0 807 "{0}" [X]
  1483. 13
  1484. 8 4
  1485. 6 3
  1486. 5 1
  1487. 3 1
  1488. 0 806 "{0}" [X]
  1489. 13
  1490. 8 5
  1491. 0 807 "{5}" 1
  1492. 13
  1493. 7 "\"
  1494. 18 1
  1495. 11 00000297
  1496. 0 16 "{5}" "\"
  1497. 13
  1498. 8 5
  1499. 6 5
  1500. 15
  1501. 9
  1502. 6 1
  1503. 15
  1504. 9
  1505. 14 GetFormats
  1506. 0 286 "Intl" "iCurrency" "Win.ini"
  1507. 13
  1508. 8 2
  1509. 0 286 "Intl" "sCurrency" "Win.ini"
  1510. 13
  1511. 8 3
  1512. 0 271 "Prefix" 1
  1513. 0 271 "Suffix" 1
  1514. 5 1
  1515. 6 0
  1516. 18 0
  1517. 11 00000496
  1518. 5 0
  1519. 6 2
  1520. 18 0
  1521. 11 00000233
  1522. 6 3
  1523. 8 4
  1524. 7 ""
  1525. 8 5
  1526. 10 00000439
  1527. 5 1
  1528. 6 2
  1529. 18 0
  1530. 11 00000296
  1531. 7 ""
  1532. 8 4
  1533. 6 3
  1534. 8 5
  1535. 10 00000439
  1536. 5 2
  1537. 6 2
  1538. 18 0
  1539. 11 00000374
  1540. 0 16 "{3}" " "
  1541. 13
  1542. 8 4
  1543. 7 ""
  1544. 8 5
  1545. 10 00000439
  1546. 5 3
  1547. 6 2
  1548. 18 0
  1549. 11 00000439
  1550. 7 ""
  1551. 8 4
  1552. 0 16 " " "{3}"
  1553. 13
  1554. 8 5
  1555. 0 264 "Suffix" "{5}"
  1556. 0 264 "Prefix" "{4}"
  1557. 10 00000557
  1558. 5 0
  1559. 6 0
  1560. 18 0
  1561. 11 00000557
  1562. 0 266 "Suffix"
  1563. 0 266 "Prefix"
  1564. 6 1
  1565. 15
  1566. 9
  1567. 14 CellEngine
  1568. 0 802
  1569. 13
  1570. 8 5
  1571. 0 16 "{5}" "hIstance"
  1572. 13
  1573. 8 6
  1574. 5 1
  1575. 6 0
  1576. 18 0
  1577. 11 00000427
  1578. 0 297 "LTSCE01.DLL" "CECreateInstance" "HO"
  1579. 13
  1580. 8 7
  1581. 6 7
  1582. 5 0
  1583. 18 0
  1584. 11 00000258
  1585. 0 3 "LTSCE01.DLL not found.  Copy the dll to your windows directory"
  1586. 5 -1
  1587. 15
  1588. 9
  1589. 0 284 "LTSCE01.DLL,CECREATEINSTANCE,HO" &2
  1590. 13
  1591. 8 8
  1592. 0 271 "{6}" 1
  1593. 0 271 "{5}LibId" 1
  1594. 0 264 "{5}Libid" "{7}"
  1595. 0 264 "{6}" "{2}"
  1596. 6 2
  1597. 15
  1598. 9
  1599. 10 00000893
  1600. 10 00000893
  1601. 5 2
  1602. 6 0
  1603. 18 0
  1604. 11 00000531
  1605. 0 271 "{6}" 1
  1606. 0 265 "{6}"
  1607. 13
  1608. 8 2
  1609. 6 2
  1610. 15
  1611. 9
  1612. 10 00000893
  1613. 10 00000893
  1614. 5 0
  1615. 6 0
  1616. 18 0
  1617. 11 00000780
  1618. 0 271 "{6}" 1
  1619. 0 271 "{5}LibId" 1
  1620. 0 265 "{6}"
  1621. 13
  1622. 8 2
  1623. 0 265 "{5}LibId"
  1624. 13
  1625. 8 7
  1626. 6 2
  1627. 11 00000723
  1628. 0 284 "LTSCE01.DLL,CEDESTROYINSTANCE,HH" "{2}"
  1629. 0 298 "{7}"
  1630. 0 266 "{6}"
  1631. 0 266 "{5}LibId"
  1632. 10 00000893
  1633. 10 00000893
  1634. 0 271 "{6}" 1
  1635. 0 265 "{6}"
  1636. 13
  1637. 8 2
  1638. 0 284 "LTSCE01.DLL,CECALCNOW,HHCC" "{2}" "{0}" &3
  1639. 6 3
  1640. 15
  1641. 9
  1642. 10 00000893
  1643. 6 1
  1644. 15
  1645. 9
  1646. 14 FontDlg
  1647. 5 1
  1648. 6 0
  1649. 18 0
  1650. 11 00000255
  1651. 0 284 "gdi,CreateFont,HHHHHHHHHHHHHHC" 13 0 0 0 400 0 0 0 0 0 0 0 0 "Helv"
  1652. 13
  1653. 8 4
  1654. 0 271 "FontHandle" 1
  1655. 6 4
  1656. 11 00000217
  1657. 0 264 "FontHandle" "{4}"
  1658. 6 4
  1659. 15
  1660. 9
  1661. 10 00000229
  1662. 5 0
  1663. 15
  1664. 9
  1665. 10 00000834
  1666. 10 00000834
  1667. 5 2
  1668. 6 0
  1669. 18 0
  1670. 11 00000381
  1671. 0 265 "FontHandle"
  1672. 13
  1673. 8 5
  1674. 6 5
  1675. 11 00000356
  1676. 6 5
  1677. 15
  1678. 9
  1679. 10 00000368
  1680. 5 0
  1681. 15
  1682. 9
  1683. 10 00000834
  1684. 5 3
  1685. 6 0
  1686. 18 0
  1687. 11 00000596
  1688. 0 265 "FontHandle"
  1689. 13
  1690. 8 5
  1691. 6 5
  1692. 11 00000558
  1693. 0 44 "{1}" "{2}"
  1694. 13
  1695. 8 6
  1696. 0 284 "user,SendMessage,HHHHJ" "{6}" 48 "{5}" 0
  1697. 5 1
  1698. 15
  1699. 9
  1700. 10 00000570
  1701. 5 0
  1702. 15
  1703. 9
  1704. 10 00000834
  1705. 10 00000834
  1706. 5 4
  1707. 6 0
  1708. 18 0
  1709. 11 00000785
  1710. 0 265 "FontHandle"
  1711. 13
  1712. 8 5
  1713. 6 5
  1714. 11 00000730
  1715. 0 284 "gdi,DeleteObject,HH" "{5}"
  1716. 5 1
  1717. 8 7
  1718. 10 00000740
  1719. 5 0
  1720. 8 7
  1721. 0 266 "FontHandle"
  1722. 6 7
  1723. 15
  1724. 9
  1725. 10 00000834
  1726. 0 3 "Fontdlg received an invalid parameter {0}"
  1727. 6 3
  1728. 15
  1729. 9
  1730. 14 GetMarkValue
  1731. 6 0
  1732. 7 ""
  1733. 18 0
  1734. 11 00000059
  1735. 6 0
  1736. 15
  1737. 9
  1738. 0 1289 "If Defined {0} {0} Else 0"
  1739. 13
  1740. 8 2
  1741. 6 2
  1742. 11 00000270
  1743. 0 1289 "{0}"
  1744. 13
  1745. 8 3
  1746. 5 -1
  1747. 0 13 1 "{3}" ">"
  1748. 13
  1749. 18 1
  1750. 11 00000257
  1751. 5 -1
  1752. 0 20 "{3}" 2 ">"
  1753. 13
  1754. 0 805 &3 [X]
  1755. 13
  1756. 18 0
  1757. 11 00000257
  1758. 10 00000281
  1759. 7 ""
  1760. 8 3
  1761. 6 3
  1762. 15
  1763. 9
  1764. 6 1
  1765. 15
  1766. 9
  1767. DIALOG QkSave
  1768. -2134376448 13 62 30 171 112 "" "AmiDialog" "Calculate Savings Account" 
  1769. FONT 8 "Helv" 
  1770. 97 29 17 12 8002 1350631424 "edit" "" 0 
  1771. 67 44 24 12 8000 1350631424 "edit" "" 0 
  1772. 67 59 24 12 8001 1350631424 "edit" "" 0 
  1773. 127 3 40 14 1 1342373889 "button" "Done" 0 
  1774. 2 46 63 8 1004 1342177280 "static" "Savings per month:" 0 
  1775. 2 60 52 8 1005 1342177280 "static" "Number of months:" 0 
  1776. 2 32 90 8 1006 1342177280 "static" "Interest rate of savings account:" 0 
  1777. 2 3 108 24 1001 1342177280 "static" "" 0 
  1778. 3 73 79 33 20 1342308359 "button" "Total savings" 0 
  1779. 116 30 6 10 1000 1342177280 "static" "%" 0 
  1780. 12 88 60 8 8011 1342177281 "static" "" 0 
  1781. 92 41 55 47 1003 1342177290 "static" "filename.bmp" 0 
  1782. 127 19 40 14 3 1342373888 "button" "Copy" 0 
  1783. 00018358
  1784.